package com.worktest.test.tests.service;

import com.worktest.test.tests.entity.User;

import java.util.List;

public interface UserService {
    /*
    * 增加user
    * */
    public void addUser(User user);
    /*
     * 删除user
     * */
    public void delUser(Integer id);
    /*
     * 更新user
     * */
    public void updateUser(User user);
    /*
     * 查找一个user
     * */
    public User findOne(Integer id);
    /*
     * 查找所有user
     * */
    public List<User> findAllUser();
}
